package com.changgou.order.feign;

import com.changgou.entity.Result;
import com.changgou.order.pojo.Collect;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "order")
public interface CollectFeign {

    /**
     * 根据用户名查询收藏的sku商品信息
     *
     * @return
     */
    @GetMapping("/collect/list")
    Result<List<Collect>> list();
}
